class RoleTests extends GroovyTestCase {

    void testBlankName() {
	def role = new Role (name:"")
	assertFalse "there should be errors", role.validate()
	assertTrue "another way to check for errors after you call validate()", role.hasErrors()
    }
}
